package www.dashu.com.auth.service;

import www.dashu.com.domain.SysUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("mall-admin")
public interface RemoteService {

    @GetMapping("/admin/loadByUsername")
    SysUser loadUserByUsername(@RequestParam String username);
}
